<include file="Public:head" />
<style type="text/css">
  .article{
    margin:10px 0;
  }
  a{
    cursor:pointer;
  }
</style>
<script type="text/javascript" src="__PUBLIC__/js/jquery.fancybox.pack.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/event.css"/>
<include file="Public:body_header" />

<div class="col-main">
  <div class="main main-wrap">
    <h1 id="title">{$event.title}
      <eq name="self.uid" value="$event.author_id">
      <a href="{:U("/event/$event[id]/edit")}" class="menu">[编辑活动]</a>
      </eq>
    </h1>
    <div id = "event_info" class="clearfix mod"">	
      <div class="col-main">
        <div class="main-wrap">
        <label>地点:  </label>{$event.location}
        <br/>
        <label>开始:  </label>{$event.time_start|substr=0,-3}
        <br/>
        <label>结束:  </label>{$event.time_end|substr=0,-3}
        <br/>
        <label>类型:  </label><em>{$event.type_name}</em>
        <br/>
        <label>发起人:</label>
          <a href="{:NoticeUrl::getAccount($event)}" target="_blank">{$event.author_name}</a>
        <br/>
	<label></label>
	<em>{$event.cnt_wish}人关注 {$event.cnt_take}人参加</em>
        </div>
      </div>
      <div class="col-sub">
          <img id="event_poster" src = "{:NoticeUrl::getEventPoster($event['img'], 'm')}" >
      </div>
      <div class="col-extra">
        <!--<div>{$event.cnt_wish}人关注 {$event.cnt_take}人参加</div>-->
                   
        <div id = "operation">
          <notempty name="self">
            <gt name="event.wish" value="0">
            <span style="position:relative;top:5px;">已关注</span>
            <else/>
            <a id="canjia"  href="__SELF__/wish" class="btn">我感兴趣</a>
            </gt>
		<br/>
		<br/>
            <gt name="event.take" value="0">
            <span style="position:relative;top:5px;">已参加</span>
            <else/>
            <a id="canjia"  href="__SELF__/take" class="btn" style="left:20px;">我想参加</a>
            </gt>
          </notempty>
        </div>
      </div>
  <!--    <div id="tag">
        <label for="">标签: </label>
        <volist name= "event.tag" id= "vo">
          <a href="{:U('browse/tag/'.$vo)}">{$vo}</a>
        </volist>
      </div>-->
    </div>
    <div id = "intro" class="mod">
        <div class = "titlebar">
            <h2 class="title">活动介绍</h2>
        </div>
        <div id = "introcon" class = "undertitle">
            {$event.content}
        </div>
    </div>
			
    <div id="event_image" class="mod">
        <div class = "titlebar">
            <h2 class="title">活动照片</h2>
            <a class="more" href="{:U('event/'.$event[id].'/album')}">...more</a>
        </div>
        <div class = "undertitle">
          <include file="Album:event_image.blocks" />
        </div>
    </div>
			
            <!--
			<div id = "bbs" class="eventsblock">
				<div class = "title">
					<p>活动讨论</p>
				</div>
				<div class = "undertitle" id= "bbscon">
					<table>
                  <eq name="event.id" value="-100">
						<tr>
							<td class = "td1">
							<p>忙了好久~终于可以见到亲们啦~明天晚上七点哦...</p>
							</td >
							<td class = "td2">
							<p>来自<a>总攻也能小清新</a></p>
							</td>
							<td class = "td3">
							<p>15回应</p>
							</td>
							<td class = "td4">
							<p>2011-04-15</p>
							</td>
						</tr>
                  </eq>
					</table>
				</div>
			</div>
            -->
			
			
            <!--
			<div id = "like" class="eventsblock">
				<div class = "title">
					<p>我们也喜欢</p>
				</div>
				<div class = "undertitle">
				</div>
			</div>
            -->
			
	</div>	
			
			
</div>
		<div class = "main col-sub">
<!--
              <include file="Public:login.mod" />-->
        <div id = "event_taker">
            <div class = "title">
              活动参与者
            </div>
            <div id = "zhubancontent" class = "undertitle">
              <?php $users=$takers ?>
             <include file="Browse:users_lite.mod" />
            </div>
        </div>
        <div id = "event_hot">
          <div class = "title" id="sunyx">
            其他热门活动
          </div>
          <div id = "zhubanfangcontent" class = "undertitle">
          <?php $events=$hot ?>
        <include file="Browse:event.blocks" />
          </div>
        </div>
		</div>



<include file="Public:foot" />